M[Symbol.asyncDispose]
Bun

method

WebView.[Symbol.asyncDispose]

Alias for close. Enables await using view = new Bun.WebView(...).